<?php
$siteID = "";

if(@$_GET['siteid'])
	$siteID = $_GET['siteid'];
	
$currentTag = $XML1 -> getTag($siteID);

addContent("<div class =\"popup\">");

addContent("<b>Edit Interaction:<b/><br/>");

$arrEngTag = getTagByID(getEnglishID($siteID));

addContent("<textarea cols=\"60\" rows=\"10\">".$arrEngTag[0]['x_interaction']."</textarea><br/>");

addContent("<textarea id=\"taInteraction\" cols=\"60\" rows=\"10\">".$currentTag -> getData('x_interaction')."</textarea><br/>");

addContent("<a href=\"javascript:void(0)\" onclick=\"onclick_saveInteraction('".$siteID."','save','".$currentTag -> getData('x_section')."')\">Save</a>&nbsp;<a href=\"javascript:void(0)\" onclick=\"Popup.hide('modal')\">Cancel</a></div>");
?>